package com.derbysoft.synxisadapter.dswitch2.service.impl;

import com.derbysoft.synxisadapter.commons.model.Direction;

import java.util.Date;

public class LogItem {
    private Direction direction;

    private Object detail;
    private Date timestamp;

    public LogItem(Direction direction, Object detail) {
        this.direction = direction;
        this.detail = detail;
        this.timestamp = new Date();
    }

    public Direction getDirection() {
        return direction;
    }

    public Object getDetail() {
        return detail;
    }

    public Date getTimestamp() {
        return timestamp;
    }
}
